package cn.janyd.jmall.userweb.converter;

import cn.janyd.jmall.user.rpc.user.dto.UserRespDTO;
import cn.janyd.jmall.userweb.controller.user.vo.UserRespVo;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * @author janyd
 * @since 2020/8/12 21:05
 */
@Mapper
public interface UserConverter {

    UserConverter INSTANCE = Mappers.getMapper(UserConverter.class);


    UserRespVo convert(UserRespDTO data);
}
